package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.Orders;

import java.util.Map;

public interface OrderService extends IService<Orders> {
    /**
     * 用户下单
     * @param orders
     */
    void submit(Orders orders);

    /**
     * 分页查询订单
     * @param page
     * @param pageSize
     * @return
     */
    Map pageInfo(Integer page, Integer pageSize);
}